package com.lihuanyu.upcOA.service;

import com.lihuanyu.upcOA.conn.databaseUtil;
import com.lihuanyu.upcOA.model.anpictrueTable;

/**
 * Created by LENOVO on 2015/9/3.
 */
public class anpictrue {
    public int i;
    public  int dbanpictrue(anpictrueTable road){
        String sql="UPDATE `intertalk` SET `picroad`='"+road.getPicroad()+"' WHERE id='4'";
        System.out.print(sql);
        databaseUtil db = new com.lihuanyu.upcOA.conn.databaseUtil();
        i=db.Update(sql);
        db.sqlclose();
        return i;
    }
}
